﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common
{
    public class Repository<tEntity,tType> :RepositoryBase<tEntity,tType>
        where tEntity : EntityBase<tType>
        where tType: struct 
    {
        public Repository(IDbContext context)
            : base(context)
        {

        }

        protected override void SaveChanges()
        {
            Context.SaveChanges();
        }
    }
}
